package com.ssm.service.impl;

import com.ssm.dao.RlteastuMapper;
import com.ssm.entity.RlteastuKey;
import com.ssm.service.RlteastuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RlteastuServiceImpl implements RlteastuService {

    @Autowired
    private RlteastuMapper rlteastuMapper;

    @Override
    public int deleteByPrimaryKey(RlteastuKey key) {
        return rlteastuMapper.deleteByPrimaryKey(key);
    }

    @Override
    public int deleteRlteastuSidToDeleteStudent(List<String> strings) {
        return rlteastuMapper.deleteRlteastuSidToDeleteStudent(strings);
    }

    @Override
    public int insert(RlteastuKey record) {
        return rlteastuMapper.insert(record);
    }

    @Override
    public int insertSelective(RlteastuKey record) {
        return rlteastuMapper.insertSelective(record);
    }
}
